import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
export const userLoadingStore = defineStore('loading', () => {
	const loading = ref(false)
	function setLoading (val) {
		loading.value = val
	}
	return { loading, setLoading }
})

export const userMenuStore = defineStore('menu', () => {
	const menu = ref([])
	function setMenu (val) {
		menu.value = val
	}
	return { menu, setMenu }
})